#include "stdafx.h"
#include "utility/utility.h"
#include <Windows.h>

namespace Ut
{

void DebugBreak()
{
	::DebugBreak();
}

uint64 GetTime()
{
	LARGE_INTEGER time;
	QueryPerformanceCounter(&time);
	return time.QuadPart;
}

float GetMs(uint64 interval)
{
	LARGE_INTEGER frequency;
	QueryPerformanceFrequency(&frequency);

	return (1000.f * interval) / frequency.QuadPart;
}

}